package com.gf.framework.mysql.entity;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author gaofei
 * @Description 乐观锁基类
 * @create 2022/6/7 15:54
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class LockerEntity extends BaseEntity {
    /**
     * 用于乐观锁
     */
    @Version
    private Integer version;
}
